package com.lenin.metro.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.lenin.metro.shared.MapCoordinates;
import com.lenin.metro.shared.MapObject;
import com.lenin.metro.shared.TileGroup;
import com.lenin.metro.shared.TileMetrics;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	
	public void test(int id);
	
	public List<MapObject> getMapObjectsByCoords(MapCoordinates topLeftCoords, 
			MapCoordinates bottomRightCoords);
	
	public List<TileGroup> getTileGroupsByCoords(List<MapCoordinates> coordsList, TileMetrics.MetricsConfig metrics);
	
	public TileGroup getTileGroupByCoords(MapCoordinates coords, TileMetrics.MetricsConfig metrics);
	

}
